.scheduling-management { padding: 24px; }
.page-title { font-size: 1.8rem; margin-bottom: 24px; font-weight: 600; color: #333; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.filter-item { display: flex; align-items: center; gap: 8px; }
.filter-item label { font-weight: 500; color: #495057; }
.filter-item input {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

.action-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.btn-primary { background-color: #0d6efd; color: white; }
.btn-primary:hover { background-color: #0b5ed7; }
.btn-secondary { background-color: #6c757d; color: white; }
.btn-secondary:hover { background-color: #5c636a; }

.table-container {
  overflow-x: auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* 防止内容撑开表格 */
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #dee2e6;
  color: #495057;
  white-space: normal; /* 允许换行 */
  word-break: break-word; /* 强制断行 */
  overflow-wrap: break-word;
}

td:nth-child(6), th:nth-child(6) {
  max-width: 300px; /* 限制任务描述最大宽度 */
}

thead th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #343a40;
  text-align: left;
}

tbody tr:hover { background-color: #f1f3f5; }

.empty-data {
  text-align: center;
  color: #6c757d;
  padding: 40px 0;
}

.btn-action {
  padding: 6px 12px;
  border-radius: 4px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  margin-right: 8px;
  color: white;
  transition: opacity 0.2s;
}
.btn-action:hover { opacity: 0.8; }
.btn-edit { background-color: #ffc107; color: #212529; }
.btn-delete { background-color: #dc3545; }
